﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using PowerCreator.LMS.BBS.Entity;
using PowerCreator.LMS.Common.Script;
using PowerCreator.LMS.Common;
using Telerik.WebControls;

public partial class Theme_3_OpenVideo : System.Web.UI.Page
{
    //const string AccessoryVedio = "<object align=\"right\" classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" id=\"MediaPlayer\"" +
    //          " width=\"100%\" height=\"100%\" type=\"application/x-oleobject\" standby=\"Loading Microsoft? Windows? Media Player components...\">" +
    //          "<param name=\"URL\" value=\"{0}\">" +
    //           "<param name=\"rate\" value=\"1\">" +
    //           "<param name=\"balance\" value=\"0\">" +
    //          " <param name=\"currentPosition\" value=\"0\">" +
    //           "<param name=\"defaultFrame\">" +
    //           "<param name=\"playCount\" value=\"1\">" +
    //           "<param name=\"autoStart\" value=\"-1\">" +
    //           "<param name=\"currentMarker\" value=\"0\">" +
    //           "<param name=\"invokeURLs\" value=\"-1\">" +
    //           "<param name=\"baseURL\">" +
    //          " <param name=\"volume\" value=\"100\">" +
    //           "<param name=\"mute\" value=\"0\">" +
    //           "<param name=\"uiMode\" value=\"full\">" +
    //           "<param name=\"stretchToFit\" value=\"-1\">" +
    //           "<param name=\"windowlessVideo\" value=\"0\">" +
    //           "<param name=\"enabled\" value=\"-1\">" +
    //           "<param name=\"enableContextMenu\" value=\"-1\">" +
    //           "<param name=\"fullScreen\" value=\"0\">" +
    //           "<param name=\"SAMIStyle\">" +
    //           "<param name=\"SAMILang\">" +
    //           "<param name=\"SAMIFilename\">" +
    //           "<param name=\"captioningID\">" +
    //       "</object>";
    //protected string url = string.Empty;
    //PowerCreator.LMS.Web.BBS.ManagerBBS opBBS = new PowerCreator.LMS.Web.BBS.ManagerBBS();
    //protected void Page_Load(object sender, EventArgs e)
    //{
    //    //url = Request.QueryString["ID"].ToString();
    //    //PowerCreator.LMS.BBS.Entity.VOTheme voTheme = new VOTheme();
    //    //voTheme = opBBS.LoadTheme(int.Parse(ViewState["ThemeID"].ToString()));
    //    //url = string.Format(AccessoryVedio, "/fileManager/UploadFile/BBS/" + url);
    //}
    protected string fileUrl = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["fileUrl"] != null)
        {
            fileUrl = Request.QueryString["fileUrl"].ToString();
        }
    }
}
